export interface ApiResponse<T = any> {
    success: boolean;
    code: number;
    message: string;
    data?: T;
    timestamp: string;
  }
  
  export interface PaginatedResponse<T = any> extends ApiResponse<T> {
    pagination?: {
      page: number;
      limit: number;
      total: number;
      totalPages: number;
    };
  }
  
  export interface ErrorResponse extends ApiResponse {
    error?: {
      code: string;
      details?: any;
    };
  }